package com.ruoyi.system.domain.module.wx;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 公众号关注的用户列对象 user_mp
 *
 * @author ruoyi
 * @date 2021-09-30
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("user_mp")
public class UserMp implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 微信公众号里的openid
     */
    private String openId;

    /**
     * unionid
     */
    private String unionId;

    /**
     * 绑定商家id
     */
    private Integer merId;

    /**
     * $column.columnComment
     */
    private String nickName;

    /**
     * $column.columnComment
     */
    private String faceUrl;

    private Integer sysUserId;

    private Integer wxUserId;

    /**
     * $column.columnComment
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(exist = false)
    private String shopName;

}
